package cn.lsp.sharkmall.mapper;

import cn.lsp.sharkmall.pojo.entity.AdminUserToken;

/**
 * @Description: 管理员token
 * @Author: sweeterjava@163.com
 * @Date: 2023/2/13
 * @Time: 01:22
 */
public interface AdminUserTokenMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(AdminUserToken record);

    int insertSelective(AdminUserToken record);

    AdminUserToken selectByPrimaryKey(Long userId);

    AdminUserToken selectByToken(String token);

    int updateByPrimaryKeySelective(AdminUserToken record);

    int updateByPrimaryKey(AdminUserToken record);
}
